package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.PersonalCenterBiz;
import ui.activity.mine.contract.PersonalCenterContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class PersonalCenterModule {
    private PersonalCenterContract.View view;

    public PersonalCenterModule(PersonalCenterContract.View view) {
        this.view = view;
    }

    @Provides
    public PersonalCenterContract.View provideView() {
        return view;
    }

    @Provides
    public PersonalCenterBiz provideBiz() {
        return new PersonalCenterBiz();
    }
}